Script works, problems in bp.dta and cp.dta unsolved