Change API to take all paths through argv.

This makes it more flexible for users.