Fixed cases where the mod ID was incorrectly generated

Now uses Regex instead of a replace kind of thing to generate mod ID.
Updated installer.