Prepare script for forecasting