Fixed bug if statement bug, PIRmle scratch issues