updating the wcm code for casa and ewos