added addtables script