updated h2 script