added bin_dir