Version 0.1.7, corrected function for setting the database name