config based on environment variables done