Added h.quit() to some scripts and included a PBS example.