Altered so all appl configuration comes from config file instead of command line.