updated crms_oe_connect
updated crms code