Noticed that sometime scripts fail when folders don't end with `\`. Change to use `os.path` or similar.