add log and web flags