Update Main File

Removed some unnecessary code