Refactored an ULS job to use the template