turn buildEntityLVSConfig into hook