changed file permissions to 774 (not sure if correct though?)