Fix Batch Script for WS.