added python diagnostic files