Add the forecast and scale code