trying to get database to work in production.