Moved bookMEs() call to the beginning of the analyze() function