Ark
refs #7488 - remove all ugly env checks - rather use config properties - replace process.env.NODE_ENV by config.get('env')