Rose ana dev

@scwhitehouse has looked through this and tested it.

@matthewrmshin please review