added sql table generation scripts