Closing time script error