setTime from script works