def update_score_script(score_file, model_name):
    """
    Update Scoring Script
    Updates the scoring script with the specific model refernce
    :param score_file: base scoring file
    :param model_name: model name
    :return: path to new scoreing file
    """
    new_score_file = 'src/deployment/model_score.py'

    # Update score.py with params
    with open(score_file, "rt") as score:
        with open(new_score_file, "wt") as new_score:
            for line in score:
                new_score.write(
                    line
                    .replace('__REPLACE_MODEL_NAME__',
                             model_name))
    return new_score_file