Completes the script which generates a list of winners