Fixed permissions for the script