Fix deliver script.