in header templates make python use PATH variable instead of hard coded python