Added the ability to work with frame numbers that do not start with 1