Simplify LP script.