Comment tail processing script