Better execution config with python