changed os.environ to os.path.expanduser so things will work on Windows