So how to overwrite the config file directly in script.py instead of running script.py with two params? A XML file or ConfigParser is appealing but this is part of a legacy system...:(