Updated extension_dir directive