Updated to allow use of .modpak files.