Changes before pasting from comparison code