minor fixes on the time tracking script