fix permissions on new script