now using config_examples/gen.cgf if no config file is available in the script's root directory
style update