use app config instead of environment