Set input from q param