 	#tmp#
 </p>
 
-	<cffile action="write" file="#application.webDirectory#/temp/#d.batch_name#.src.txt" output="#tmp#" addnewline="false">
-
-<a href="/temp/#d.batch_name#.src.txt">/temp/#d.batch_name#.src</a>
-
-
-
+	<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>

<p>
	#rstr#
</p>
<cffile action="write" file="#application.webDirectory#/temp/#d.batch_name#.sbt" output="#rstr#" addnewline="false">

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


<cfloop query="s">

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

		<!--- make a directory; force-overwrite if necessary --->
		<cfset dir="#application.webDirectory#/temp/#d.batch_name#">
		<cfdirectory destination="#dir#" action="create">


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