Added "number" command error checking.