fixing paths, starting tables.