Fix to unescaped characters in mkdir && cp command

Added double quotes around the commands, $(VAR) will still behave the same.