Add tabs and IF NOT EXISTS clause