* Outcommented unnecessary code and added check for scanner type.
* Outcommented unnecessary code and added check for scanner type.

os2webscanner/os2webscanner,os2webscanner/os2webscanner,os2webscanner/os2webscanner,os2webscanner/os2webscanner