change path of .cfg file