Getting more of the build script ready for a pakage.