ADDED DEVICE AND FILE PERMISSIONS