Updated script to inspect error