making upstream_check module optional