move .sh to lib/