modified app server for WS