Added config file support for Python scripts.