Added console input for IDE debugging