1. Added support to select/add frame index.