Address some issues with folder and file permissions