finished output script