Added a few error message output