Scripts for initial setup and fix for initial empty database