Fix permissions for shell script