one for you electronic wizzes

Right i'm trying to figure out how to get my DRL and my fog lights to come on when i unlock the car but then when the ignition is on the fogs to go out but the drls to stay on.

so far i have it wired up so that only the fogs come on and then go off when the ignition is on, this is how i've done it.

"interior lights come on when unlocking the car and go off when the ignition is on"

Sorry for the basic pic..

So as you can see when the interior feed is active that activates the relay switching on the fogs and when its off it deactivates the relay switching the light off.

Does this make any sense at all??