Added quotes around variables in case of spaces.