derive device name from programs as they can change