Updated scripts to make it easier to handle config files