updated permissions and shebang