parted added new_disks variable and other fixes