done script generating OAF db