updated script to show current time