added access to run_subprocess function