Better check for corr2 library in scripts