added a generic "set_values" function that allows us to send commands that require parameters.