added -conf to event and changed name of db Dbname