Removed compiler warning
Changed input to command loop