Environmental variable confusion