Added option to pause and save frame