Made the config file a lot more generic.