Update for RStudio and latest db setup.