Added handling for perEnd

There was no automatic handling for PERs in the SOTD processing.  Added that so there is always information about how to handle PER review.
You might want to remove the `console.log` here.