Make the material budget code operational

Material budget codes