added python support and a variable to select platform on arduino script