added config file generation again, still needs to be put in one config file