added lib_ext, minor spec changes