Add Retrojim's son of flapper controller code