Copied from GalCiv2 distro and updated