Current result is centered in the viewport? Do you mean it's centered in the editor? If so, use "editor" instead of "viewport".