removed unused import
Improved permissions