Hello, Carol, and welcome to BYC! :frow Glad you joined.
I've not treated for gape worm but I'm sure your vet has prescribed the correct wormer for your flock so just follow the instructions.
Are any of the remaining leg scales raised? Treating for scaly leg mites won't hurt so go ahead and dip...