add finish script