Fixed a breaking bug, that was there due to the preposterous way VBS returns in a function.