run scripts with errexit and nounset
fixed build error for RLOapp