added option to pass python path to bash file