major changes to man and host, removed debug statements