Add option to set initial frame