added send spec config before run #473. added autoflush option to database adapter