updated ingress script