def corsikaRunScriptFileName(arrayName, site, primary, run, label=None):
    """
    Corsika script file path.

    Parameters
    ----------
    arrayName: str
        Array name.
    site: str
        Paranal or LaPalma.
    run: int
        RUn number.
    label: str
        Instance label.

    Returns
    -------
    str
        File path.
    """
    name = "run{}-corsika-{}-{}-{}".format(run, arrayName, site, primary)
    name += "_{}".format(label) if label is not None else ""
    name += ".sh"
    return name