relative imports and horizon fix in forecast
fix for pdf gen