diff --git a/src/pages/dashboard.py b/src/pages/dashboard.py
index 168ad1dfe998508c26bf34bce3d85ebeecb0dd8c..22470574d6a1e3c9167764852ae75f8606f04d95 100644
--- a/src/pages/dashboard.py
+++ b/src/pages/dashboard.py
@@ -1333,6 +1333,7 @@ def ml_downscaling_output_download(download_button, job_dict, plot_dict):
         iscen = job_props['emis_scen']
         iscen = iscen if (iscen) else 0
         fc_length = job_props['forecast_length']
+        forecast_hours = fc_length * 24
         out_filenames = get_filenames(jobnr, year, month, day, iscen, fc_length)
         downscaling_fn = out_filenames["downscaling_filename"].format(variable=variable)
         downscaling_filename = str(DATA_PATH.joinpath(f'{downscaling_fn}'))
@@ -1344,7 +1345,7 @@ def ml_downscaling_output_download(download_button, job_dict, plot_dict):
             credentials = uc_credentials.UsernamePassword(UNICORE_USER, UNICORE_PASSWORD)
             client = uc_client.Client(credentials, base_url)
             job_description = {'Executable': f"/p/project/cjicg21/{UNICORE_USER}/downscaling_destine_de370c/HPC_batch_scripts/inference_destine_test_{variable}.sh",
-                               'Arguments': [ f"{jobnr.upper()}/CTM/", year, month, day ] }
+                               'Arguments': [ f"{jobnr.upper()}/CTM/", year, month, day, str(forecast_hours) ] }
             job = client.new_job(job_description)
             # wait for the job to finish:
             while str(job.status) != 'JobStatus.SUCCESSFUL':