Fix CA model script