[IMP] Removed the xml actions and added action in py to filter the data according to the used contracts and same added feature to use 'action' as well as 'action_id' in RedirectWarningHandler