Add exception printer
Export LD_LIBRARY_PATH before running script
Merge from ci-debug