Fixes to core, search, script builder, db exp