Why don't you display this line after creating it and see if it looks like you expect.

$Script = $quote+$LDRIVE+$Group+$ext+$quote
? $script

I see no advantage for using $quote. In fact, I don't think you even need it there, and it could be what is causing your problems

$Script = $LDRIVE + $Group + $ext