Fixed formatted command for system call.

Also readded the correct path to the code generator.