A little more work on db scripts.