Add initial retcode vars to state execution module