Fix timelog scripts