Windows doesn't like string.replace, so switch to str.replace #tag