Added minimizing script