hacky setting of permissions on the shell script