updated permissions and config files