69 Cuda M Code Map Light Switch Help!

The wire that goes to the right door jam switch (yellow normally for lighting) goes into one side of the map light the other wire coming out of the map light now goes to the right door jam switch.
It is a simple, open door light comes on, or with the light switch turning the knob to inside lighting, also turns it on. There is a lot of excess wire from the run that used to run to the right door switch fold and tuck it under use factory clip (pictured) to secure. done.