That sounds confusing. The little black box on the right side goes under the dash. The wiring before that plugs into the door harness and the dome light and moon roof switch. Follow the wires back (towards the top of the pic) runs back to hatch. So imagine I was standing at the front passenger corner of the car to take this pic.
“Who you are speaks so loudly I can't hear what you're saying.” -Ralph Waldo Emerson.