Finish script