Python script to replace use of curl (#124)

This PR addresses issue #124