Changed ... == False statements to if not ... statements