Added --ignoretypeerrors flag