Revised Lemur analysis codes