script for DB tables