Fix for Issue#30 - resource name is now required if a resource is specified.