Thanks for testing it out and I'm glad it works on the H4
I uploaded the whole thing to my Github repository:
The one on Github has better cookie handling but is otherwise identical to what I posted here.
(it creates or resizes the jar if needed)
General Discussion, STOS.