Changed $bp_dir case