allow both cases for enabling new relic agent