Adding some bounds checking on commands