tweak config regarding APPLICATION_ENV