Overhauling release scripts, adding documentation