 ---->
 <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">

			</cfif>



			<br>GNI:#g#
			<br>WikiData:#w#
			<br>WORMs:#wr#

			<cfquery name="u" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
				update ds_temp_tax_validator set wiki='#w#',gni='#g#',worms='#wr#' where taxon_name='#taxon_name#'
			</cfquery>

		</cfloop>

				<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>
