Rwork database access slightly