updated config file location check