Add cwd to commands.