Adding initial script to identify type of errors