Fixed.

Sorry to everyone who looked through my script to see what was wrong