             
                
     # Components - overwrite
-    fs.writeFileSync(path.join(process.cwd(), config.src, 
-      "GeneratedComponents.kt"), s0.join('\n'))
+    fs.writeFileSync(path.join(process.cwd(), location, 
+      filename("GeneratedComponents")), s0.join('\n'))
     
     # Entity Extensions - overwrite
-    fs.writeFileSync(path.join(process.cwd(), config.src, 
-      "EntityExtensions.kt"), s1.join('\n'))
+    fs.writeFileSync(path.join(process.cwd(), location, 
+      filename("EntityExtensions")), s1.join('\n'))
 
     # Matcher Extensions - overwrite
-    fs.writeFileSync(path.join(process.cwd(), config.src, 
-      "MatcherExtensions.kt"), s2.join('\n'))
+    fs.writeFileSync(path.join(process.cwd(), location, 
+      filename("MatcherExtensions")), s2.join('\n'))
 
     # Pool Extensions - overwrite
-    fs.writeFileSync(path.join(process.cwd(), config.src, 
-      "PoolExtensions.kt"), s3.join('\n'))
+    fs.writeFileSync(path.join(process.cwd(), location, 
+      filename("PoolExtensions")), s3.join('\n'))
 
     ###
      * Systems Type Definitions

path = require('path')
mkdirp = require('mkdirp')
config = require("#{process.cwd()}/entitas.json")

getType = (arg) ->
  switch arg

    
  s.join(', ') 
  
filename = (name) ->
    if config[name]? then config[name] else "#{name}.kt"

module.exports =
#
