Use redemptiob script as input.