Fix issue MR-592 - Unable to run VBS script as an external tool

Fix issue MR-596 - Incorrect escaping of quotation marks in external tool arguments