Changed checking time in script