def write_bash_script_line(cfg):
    """Write line to bash script to run controller on specified instance."""
    return (
        f"\necho 'running controller for: {cfg['id']}...'"
        f"\n{cfg['ctrl_pth']} "
        f"JAMPR "
        f"{cfg['data_pth']} "
        f"{cfg['cpu_mark']} "
        f"{cfg['time_limit']} "
        f"{cfg['BKS']} "
        f"{cfg['optimal']} "
        f"{cfg['solver_pth']}"
        f"\nwait"
    )