improving AMPR safety
improving AM extraction script
Merge pull request #2660 from sviret/TrackFindingAM_SV_270214

Track finding am sv 270214