Upgrade timelogger script