Dynamic switch python scripts and config files