JC: added custom_code search to engine config and search (no search yet). more cn.