split export cache_dir and export output_dir