Changes to get the thank you page to work