Added support to load prev/next phones, variable number of target samples