made a change to the code so the database configuration is in same dir as the files