Made code compatible with Net20 config.