Undid security fixes. Otherwise app wont run