lr command implementation and correction include in lp.h