removed old code and added python minify