undo previous commit

There was a bug - curl can be used, instead.