Text this: Regulating a Firm under Adverse Selection and Moral Hazard in Uncertain Environment