Moved table file to tables directory, added debugging to find the infinite loop