submit script of database