Updating error messages and cmd run