add extensions_dir, extensions_path options