Change 'yes' and 'no' to True and False