db as a script,start work gallary