 
 			<cfquery name="lldd" datasource="uam_god">
 				update cf_temp_zipfiles set
-					md5='#md5#',
+					md5='#lmd5#',
 					remotepath='#media_uri#',
 					mime_type='#mimetype#',
 					media_type='#mediatype#',

				<cfdirectory action = "create" directory = "#Application.webDirectory#/temp/#d.zid#/tn" >
			</cfif>
			<cfquery name="f" datasource="uam_god">
				select * from cf_temp_zipfiles where zid=#d.zid# and preview_filename is null and rownum <20
			</cfquery>
			<cfloop query="f">
				<cftransaction>

			<cfset bucket="#session.username#/#dateformat(now(),'YYYY-MM-DD')#/tn">
			<cfset currentTime = getHttpTimeString( now() ) />
			<cfset contentType = "image/jpeg" />
			<cffile variable="content" action = "readBinary" file="#Application.webDirectory#/temp/#d.zid#/tn/#preview_filename#">
			<cfset contentLength=arrayLen( content )>
			<cfset stringToSignParts = [
			    "PUT",
