Added option to ignore optional lectures