Add table check on start up