Removed thank you function as it was using direct_to_template
another commit