chmod changes for mac and MVC for applications