Fixed stuff

Got rid of all the noob errors and now it works.