refactored and generalized so any epi report-template can be used to generate at the monographAgent or table-level
added browser detection for checking if a valid browser is used