added environment condition before rendering rollbar stuff