Fixed bug in thankyou script