diff --git a/src/PatternLab/PatternEngine/Twig/PatternEngineRule.php b/src/PatternLab/PatternEngine/Twig/PatternEngineRule.php
index <HASH>..<HASH> 100644
--- a/src/PatternLab/PatternEngine/Twig/PatternEngineRule.php
+++ b/src/PatternLab/PatternEngine/Twig/PatternEngineRule.php
@@ -33,7 +33,10 @@ class PatternEngineRule extends Rule {
 	*/
 	public function getPatternLoader($options = array()) {
 		
-		$twigLoader = new PatternLoader(Config::$options["patternSourceDir"],array("patternPaths" => $options["patternPaths"]));
+		//default var
+		$patternSourceDir = Config::getOption("patternSourceDir");
+		
+		$twigLoader = new PatternLoader($patternSourceDir,array("patternPaths" => $options["patternPaths"]));
 		
 		return new \Twig_Environment($twigLoader);
matching the get/set changes in core