Handling different application configs per environment

@joneslee85 @pkurek already fixed 60a7b6e.