Attempted to make things presentable & misc functions
Permissions fix