added python script to receive button events
added python script to receive button events