unofficial mirrpr of skipfish with some minor fixes