VBS diff scripts: fix a few inconsistencies and remove unused variables