Moved command length check to execute