Added extension_dir directive