added changes to the new relic code