Load app settings from object and change main file name