added xsysweblocal logic