Added dom element looping for bulk configuration