Script and template to initialize appliance DB