added addRequiredResources action url in hook