Updated thank you message, added error