//STEP 7: 
//Delete the main object shape and group them all together as one object.
select $obj;
delete `ls -sl`;
    
select -r $main;
select -tgl $sub;
string $finalGroupName = $obj;
group -n $finalGroupName;