Added MeLi integration, corrected errors