Made config file path not a global variable