fixed and extended auto-replay modes from command line