Stop calling exec_test.sh in the middle of python scripts