fallback to local env