Perhaps with a 'switch' you can still fill in the require field? because this has to go after the file or exec resource.