Modifications to enable hosting in IIS too