corrected the null vm check for attaching disks and changed the name and label params for images