 	<p>
 	#tmp#
 </p>
-	<cffile action="write" file="#application.webDirectory#/temp/#sequence_identifier#.fsa" output="#tmp#" addnewline="false">
-	<br><a href="/temp/#sequence_identifier#.fsa">/temp/#sequence_identifier#.fsa</a>
+	<cffile action="write" file="#dir#/#sequence_identifier#.fsa" output="#tmp#" addnewline="false">
+	<br><a href="/temp/#d.batch_name#/#sequence_identifier#.fsa">/temp/#d.batch_name#/#sequence_identifier#.fsa</a>
 </cfloop>
 
 <cfset tmp="Sequence_ID#chr(9)#Collected_by#chr(9)#Collection_date#chr(9)#Country#chr(9)#Lat_Lon#chr(9)#Specimen_voucher#chr(9)#Host#chr(9)#Dev_stage#chr(9)#Sex#chr(9)#Tissue_type">

		<cfdump var=#d#>
		<cfdump var=#p#>
		<cfdump var=#s#>


<cfset rstr="Submit-block ::= {">

	#tmp#
</p>

	<cffile action="write" file="#dir#/#d.batch_name#.src.txt" output="#tmp#" addnewline="false">

<a href="/temp/#d.batch_name#/#d.batch_name#.src.txt">/temp/#d.batch_name#/#d.batch_name#.src</a>


<p>
	made some files, review then package them
</p>

	</cfoutput>
</cfif>
