Yeah, that is actually what the OpenWRT package does, except it grabs the data for me. Saves me the scripting :)