Index: trunk/src/scriptbuilder/structures/SimulationScript.java
===================================================================
--- trunk/src/scriptbuilder/structures/SimulationScript.java	(revision 194)
+++ trunk/src/scriptbuilder/structures/SimulationScript.java	(revision 195)
@@ -79,4 +79,7 @@
     private MyScriptHandler sh;
     
+    public final String audioDirectory = "Audio";
+
+    
     public boolean saved;
     
@@ -275,5 +278,5 @@
     private void createAudioDirectory(Path path){
         String separator = System.getProperty("file.separator");
-        File f = new File(path.toString()+separator+"audio");
+        File f = new File(path.toString()+separator+audioDirectory);
         if(!f.exists())
         {
@@ -286,5 +289,5 @@
             {
                 String name = ((Integer) i.number).toString();
-                File incidentFolder = new File(path.toString()+separator+"audio"+separator+name);
+                File incidentFolder = new File(path.toString()+separator+audioDirectory+separator+name);
                 if(!incidentFolder.exists())
                 {
@@ -307,8 +310,16 @@
                             String output = radioEvent.toScriptFile();
                             //optimally, this line should use the ID, but to account for files being read in, it needs to be the radiofile name
+                            System.out.println("Attempting to create file: "+ path.toString()+
+                                            separator+
+                                            audioDirectory+
+                                            separator+
+                                            name+
+                                            separator+
+                                            radioEvent.radioFile.replaceAll(".mp3","")+
+                                            ".txt");
                             File newAudioScript = new File(
                                     path.toString()+
                                             separator+
-                                            "Audio"+
+                                            audioDirectory+
                                             separator+
                                             name+
Index: trunk/src/scriptbuilder/structures/ScriptIncident.java
===================================================================
--- trunk/src/scriptbuilder/structures/ScriptIncident.java	(revision 168)
+++ trunk/src/scriptbuilder/structures/ScriptIncident.java	(revision 195)
@@ -327,6 +327,8 @@
             if(((I_AudioEvent) ev).getID().equals(""))
             {
-                ((I_AudioEvent) ev).setID(number+Integer.toString(audioEventCount));
                 audioEventCount++;
+                //ternary expression here just prepends an extra 0 to the ID of the audioEvent if its eventcount is less than 10
+                ((I_AudioEvent) ev).setID(number+((audioEventCount<10)? "0"+Integer.toString(audioEventCount):Integer.toString(audioEventCount)));
+                
             }
             if(t.getCorrespondingAudioEvent((I_AudioEvent)ev)==null)
