SHALL applies to the margins set forth in 3515.011.... less than 1/2 of 1%
Gramatically, "shall" applies to both alternatives (separated by "or") -- the automatic recount and the recount upon application. Otherwise, the part having to do with the recount by application is a subject without a verb.