Moved scripts to separate libraries.