Added ability to set variables on compensation