add option to run a python function while we are running a student submission