Seol mar théacs é seo: A modified structural model for credit risk