Variable unneeded in this context.
Added support for Windows XP