Make sure lsdev.pl is in the path before calling it