finishing up script