Changed execution of commands to ShellJS.