 
 let count = Process.arguments.count
 if count == 1 || count > 5 {
-    println("\(__FILE__):\(__LINE__): Received \(count) arguments, Proper usage: processEnvironments.swift -- [bundledPath] [srcPath] [settingsPath] [allowedEnv]")
+    print("\(__FILE__):\(__LINE__): Received \(count) arguments, Proper usage: processEnvironments.swift -- [bundledPath] [srcPath] [settingsPath] [allowedEnv]")
     exit(1)
 }
 

    
    for (variable, options) in missingOptions {
        if let prepend = prependMessage {
            println("\(prepend) error:\(variable) is missing values for '\(options)'")
        } else {
            println("error:\(variable) is missing values for '\(options)'")
        }
    }
    

                    ])
            }
            settings[preferenceKey] = updatedPreferences
            print("Updating settings at \(settingsPath)")
            return settings.writeToFile(settingsPath, atomically: true)
        }
    }
    return false
}

func processEnvs(bundledPath: String, sourcePath: String, settingsPath: String, allowedEnv: String? = nil, dstPath: String? = nil) -> Bool {
    let settings = NSDictionary(contentsOfFile: bundledPath)
    let availableEnvs = (settings as! [String:AnyObject])[envKey] as! [String]
    
