Changed how Shell.run works; now needs the platform