Change mode to be executable

Closes #400
Merge remote-tracking branch 'refs/remotes/origin/master'