Cleaned up permissions export