progress on codeml running function