Change sed commands to avoid Picket Fences