factor out special newrelic handling
Merge branch 'develop' into refactor_special_exts
fix exts var access in function
Merge branch 'refactor_special_exts' into develop