modified Visio scripts to work in Windows 8.1