this is the only thing i have a problem with, as i intended itsalive to be called from code as a module and not just a command line utility.
if you put this back i'll merge it in!