setup file for using database and erb files