Fixed loading the database on the local environment