Changing the way the working directory is set while calling external
commands.The commands are taken in an array instead of a string to
ensure spaces are taken care of in the paths while running the
commands. Changing json files for languages and plugins for it.