Tweaked so when built in debug mode we don't set the root name.
Added version string arg.