scrapie prem report refactoring