-fixed $hostname variable in usage
-changed http server