Abstract: A controller is disclosed for a plunger lift system for oil and gas wells that monitors the casing pressure, flow line pressure, and battery voltage and overrides the on-time and off-time periods to either shut the well in or open the flow line valve when certain casing or flow line pressures exist or when the battery voltage drops to a preselected minimum.