remove index_dir setting
write all outputs in builder