Fixed errors in openning config, must use fully qualified path to config file