Added loadLCS function