You're right - this is a mistake in the manual, and a wrong example. You can do a sky dome from frames in a "+2" image in WED, but not in the script. When you program a sky dome per script, you can have many layers, but need one separate image per layer. A "+2" image for 2 layers won't do AFAIK.