figured out how to input passed run query