Tested and modified the action manager.