added path canonizing for better logs
fixed error detection problem when executing VBS command