Working version of the bag_light controller