now takes device name from configuration doc