changed inputcommand stuff