Script Recording & Playback Process