scripts for LIB branch