Generated new csv according to new data in db plus recctifying queries.sql file plus removes all listeners