script failures handled properly