Permissions changes and minor fixes