 <cfif action is "loadData">
 <cfoutput>
 	<cfquery name="d" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
-		select * from  cf_temp_taxonomy  where  upper(username)='#ucase(session.username)#'
+		select * from  cf_temp_taxon_name  where  upper(username)='#ucase(session.username)#'
 	</cfquery>
 	<cfloop query="d">
 		<cftransaction>

		<cfif len(colVals) gt 1>
			<cfset colVals=replace(colVals,",","","first")>
			<cfquery name="ins" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
				insert into cf_temp_taxonomy (#colNames#) values (#preservesinglequotes(colVals)#)
			</cfquery>
		</cfif>
	</cfloop>

<!------------------------------------------------------->
<cfif action is "makeTemplate">
	<cfquery name="t" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
		select * from cf_temp_taxon_name where 1=2
	</cfquery>
	<cffile action = "write" file = "#Application.webDirectory#/download/BulkTaxonomy.csv"
    	output = "#t.columnlist#" addNewLine = "no">
