6,7c6,7
< $temp_prefix     = 'ram:';   # Prefix for location of temporary directory
< $file_sep        = '.';      # Character used to separate directories in
---
> $temp_prefix     = $ARGV[0]; # Prefix for location of temporary directory
> $file_sep        = '/';      # Character used to separate directories in
10,11c10,14
< $blurb_filename  = '$.Adventure.Blorb.BLURB';
< $output_filename = '>$.Adventure.Blorb.blorbfile';
---
> $blurb_filename  = $temp_prefix.$file_sep.$ARGV[1];
> $output_filename = '>'.$temp_prefix.$file_sep.$ARGV[2];
> 
> $storyfile_type = "GLUL"; 	# or"ZCOD";
> 
588c591,593
<     {   $type = "PNG ";
---
>     {   # $type = #"PNG ";
>         if ($chunk_filename_array[$x] =~ /.+jpg$/i) {$type = "JPEG"};
> 	if ($chunk_filename_array[$x] =~ /.+png$/i) {$type = "PNG "};
608c613
<     {   $type = "ZCOD";
---
>     {   $type = $storyfile_type; # before it was only "ZCOD";
