Changed target bit to bitgen to correlate with the xmsgs