Moved ShellCommand to a better place.