further generalize harvest scripts.

Signed-off-by: Dan Conner <im@danmarvelo.us>