improve hook script
improve Twisted SSHd