cleaner integration of zkPath option