tidy up [ci skip]
rename source_options to be resource_options