add the libname field in the migration script