Finish writing build script