Remove executable flag from some mode scripts

Closes #2037