Added some fixes to the code, changed permissions on website files