updated run.sh and added python script