database scripts for CrossRiver