Initial commit
Subsite and escaping improvements
Updated permission generation
Removed unused variable