if statement for scripps