added key commands to replayer