Modified so that configuration is more compatible with Windows.