add env flag to control new relic agent