made changes to capsule_crm.rb