Optimized/added site validation
Added support for virtual application/directory