fix to the windows create/update tode image scripts