Completes the script that creates the source archive.