Fixed bug where included files did not output error messages