djD3F, I hope you do know that the -t switch for echo will echo the timestamp, so no need for the $timestamp