added datetime concat, time tag, and echo statement formatting