edit shell script and python