Fixes permissions on shell scripts