Simplified environment passing