use srvinv instead of libsrvinv