Added check invalid objects sanity check script