add read for $build_dir