         }
     }
     
-    func executeScript(options: [ScriptOptions]?) {
+    func executeScript(options: [AssetGenerationOptions]?) {
         if let ops = options {
-            let generate1x = contains(ops, ScriptOptions.GenerateMissingAssets)
-            let createDest = contains(ops, ScriptOptions.CreateDesitnationIfMissing)
+            let generate1x = contains(ops, .GenerateMissingAssets)
+            let createDest = contains(ops, .CreateDesitnationIfMissing)
             executeScript(generate1x: generate1x, extraArgs: nil)
         } else {
             executeScript()

    func hasValidDestinationProject() -> Bool
}

enum ScriptOptions {
    case GenerateMissingAssets
    case CreateDesitnationIfMissing
}

    private func executeScript(#generate1x: Bool, extraArgs args: [String]?) {
        assetGenerator.generateAssets(sourceDelegate!.sourcePath!, target: destinationDelegate!.destinationPath!)
    }
}
