testing with mail to see if tmplocation is being saved properly as well as dbfilename