Added ability to modify client actions before they will run