Fixed embarrassing script bugs shut up it's Sunday