I suggest using single quotes for the echo instead, this will avoid any characters being interpreted in the quoted string too (like the $...)