added python script for controlling