ENSCORESW-1114: first attempt at supporting funcgen databases as well as core ones