Make cut and paste work