Added code not to create tables each time