Added comments to forecast imports
Improved error handler