Minimized Script

Minimized the main script to its half