DB and script