Added list of valid resources if invalid resource is given
Valid resources are underscore, not downcase