Fixes issue with addHost.php file