Updated LsaViewer to use new sim functions.