added ability to set custom location of .config file