script generation from list of http messages