Title: Resource extraction and recycling with environmental costs