Update lscommand.c