Added env settings for local/dist/test