extract into `create_bs_package`