Adds meaningful error messages in commands