A person could also install a door jam switch and tie it into your DIY plug if they only wanted to turn on the bed lights when the tailgate is opened. Just a thought.
Before people start writing any codes with Forscan, make sure you backup all of your modules that contain "(AS BUILT format)". That way you can flash these back if you ever have to return your vehicle to the dealer for any issues. Here is a good video on how to do it.
p.s. Thanks to Tyvemattis...