python script for running all components on batch