A deal has been reached to rescue Scottish fabricator Burntisland Fabrications Ltd (BiFab) and allow the company to continue work on its contract for the 588-MW Beatrice offshore wind farm, the Scottish government announced on Saturday.