parsing script for WS complete