Settings and replacement patterns