Setup db in script