Modified Waleed's code to persist the html and full text immediately after getting the policy url