SORTED!!!
The first thing I checked when this problem came up was the fuses which at the time were fine, and while I have been tinkering with the wiring I think I must have blown the 15a fuse for the d/s headlamps. After scratching my head for days I went back and checked... hey presto the fuse was blown. Replaced it and now everything is ok