Fixed config file chooser logic (I think)