For the H perm OH, I use this alg:
R2 U2 R U2 R2 U2 R2 U2 R U2 R2
For a while, I used this alg for the Z OH:
U x' R U' R' D U R' U' D R' U R D2
But I recently switched to the two gen alg that Lofty posted. It's a little bit faster and a lot easier to perform without locking up.