Of course I didn't programme anything. I'm apparently a complete idiot!
I just re-wired and hoped for the best.
Right, I shall (properly) read Bigsosij's earlier comment, take another look at the manual and take things from there.
Due to work and Christmas, I won't get around to this until next week but thanks for the helpful comments...