last DB script