Make script tolerate errors.