Added print statements, email confirmation