Slightly updated clock.lua