added python scripts for socket connections