Made db_name changeable in credentials