cleaning up code, adding curl commands