diff --git a/bunc2tei.py b/bunc2tei.py
index f0b54ef..44d1cec 100644
--- a/bunc2tei.py
+++ b/bunc2tei.py
@@ -10,17 +10,17 @@
     corpus = "<teiCorpus>\n</teiCorpus>"
     origRoot = ET.fromstring(corpus)
     corpusStr = minidom.parseString(ET.tostring(origRoot)).toprettyxml(indent="  ")
-    with open("tree_structure.xml", "w") as f:
+    with open("/input/tree_structure.xml", "w") as f:
         f.write(corpusStr)
 
     # Parse corpus tree
-    corpusTree = ET.parse("tree_structure.xml")
+    corpusTree = ET.parse("/input/tree_structure.xml")
     corpusRoot = corpusTree.getroot()
 
     # Process documents and append to corpus tree
     for j in range(1, len(sys.argv)):
         try:
-            currentTree = process(j-1, sys.argv[j])
+            currentTree = convert(j-1, sys.argv[j])
             currentRoot = currentTree.getroot()
             #print(currentRoot.tag)
             corpusRoot.append(currentRoot)
@@ -30,10 +30,10 @@
 
     # Indent and save tree
     ET.indent(corpusTree, "  ")
-    corpusTree.write("output.p5.xml", encoding='utf-8', xml_declaration=True, method='xml', short_empty_elements=True)
+    corpusTree.write("/output/corpus.p5.xml", encoding='utf-8', xml_declaration=True, method='xml', short_empty_elements=True)
 
 
-def process(j, file):
+def convert(j, file):
     # Parse document tree and get root
     tree = ET.parse(file)
     root = tree.getroot()
