add script to setup databases in core