Added Check\Create for Main table