Added Check if exists in IIS function