Updated language detection
Added item merge