adds new relic agent and minor fix