Fixed permissions on schedule script