added python command hook script