fixed brittle config line addition for pages and modules