 ---->
 <cfif action is 'gpd'>
 	<cfquery name="d" datasource="prod">
-		select scientific_name from taxon_name where taxon_name_id > (select max(taxon_name_id)-1000 from taxon_name) order by taxon_name_id
+		select scientific_name from taxon_name where taxon_name_id > (select max(taxon_name_id)-5000 from taxon_name) order by taxon_name_id
 	</cfquery>
 	<cfloop query="d">
 		<cfquery name="x" datasource="uam_god">

				<cfset g='found'>
			</cfif>


			<cfhttp url="http://www.marinespecies.org/rest/AphiaIDByName/#taxon_name#?marine_only=false" method="get">
				<cfhttpparam type="header" name="accept" value="application/json">
			</cfhttp>

alter table ds_temp_tax_validator add wiki varchar2(255);
alter table ds_temp_tax_validator add gni varchar2(255);
alter table ds_temp_tax_validator add worms varchar2(255);
alter table ds_temp_tax_validator add eol varchar2(255);

create or replace public synonym ds_temp_tax_validator for ds_temp_tax_validator;
grant all on ds_temp_tax_validator to manage_taxonomy;
