 
 ---->
 <cfoutput>
-	<a href="cleanImages.cfm?action=getList">getList (step one)</a>
-	<p>
 
-	<a href="cleanImages.cfm?action=oldstuff">oldstuff (step one)</a>
-	</p>
-
-	<cfif action is "getList">
-		<CFDIRECTORY
-			ACTION="List"
-			DIRECTORY="#Application.webDirectory#/mediaUploads"
-			NAME="mediaUploads"
-			recurse="yes"
-			type="file">
-		<cfdump var=#mediaUploads#>
-
-	</cfif>
-
-
-	<cfif action is "oldstuff">
 	<CFDIRECTORY
 		ACTION="List"
 		DIRECTORY="#Application.webDirectory#/mediaUploads"

	</cfquery>
	<cfloop query="mediaUploads">
		<cfset dirpath="#DIRECTORY#/#name#">
		<p>

			<cfquery name="alreadygotone" dbtype="query">

				<p>this file is already being processed.....</p>
			<cfelse>
				<p>
					this file is new....inserting into migration workflow
				</p>
					<cfquery name="found_new" datasource="uam_god">
						insert into cf_media_migration (path,status) values (
					</cfquery>





