Add a --api-url option
Offset was uninitialized.... DOH