Removed  SOP debugging lines