Update Main

Changed a couple of stupid mistakes i made.