Function executeCutCommand