Added some new error printouts