make the fork command use v3 API calls

The command is still rough in its output, but now it works.