Added cfg file, modified program start