I can help you with your script qualitatively, because I use scripting for ad-block already.
Relevant Skills and Experience
switching and routing,
wireless technologies,
Linux, FreeBSD,
programming (bash, Python, VBScript)
I've finished courses:
MTCTCE/MTCNA,
Cisco TSHOOT v.2.0, SWITCH v2.0,
CCNAX,
Linux LL-101.
Stay tuned, I'm still working on this proposal.