Support for general options and empty host section in config, fixed sh script initial launch