adding in if greater than script