move .sh to lib/
fix typo