Script for setup database.