Add database and scritp transform to database