added hostname to options
moved hostname key to the top of the config file