renamed lib_scaffold to _lib_scaffold