Get rid of the old use of valid_options
rename valid_options to validate_options