add better error handling
new scripts for lori and lori2