configurating both batch and web