U: update insertScripts asynchronous to synchronous close #20