Updated startup scripts to return permission values for linux and osx