fixes to getDatabase scripts after migrating to new dev boxes