Use separate license files.
Update script for creating open-source packages.