This has always bugged me. When firstly or secondly is used is used at the beginning of a sentence followed by a comma, is the writer modifying or enumerating?
Well, both I suppose. It's certainly an adverb which modifies the verb in the main clause.