add usage of USE_STATIC_NETWORKING variable