added mismatch parameter and changed batch parameter to quiet