Added ROOTAPPFOLDER fix for moving app to live server