added ability to set variables after run