Moved scripts to lib dir