Screen synchronization is achieved via CitrixWaitForScreen functions, which are not scripted automatically by the recorder. These functions are inserted via the Screen Region dialog box during recording. CitrixWaitForScreen functions compare replay and record bitmaps to determine whether or not they are identical. Hash values, as opposed to actual bitmaps, are used to compare the images. This limits resource consumption during replay.