added double quotes around some variables