Fixed missing quotation in string and missing $ in variable bug.