time to move away from bash - will smartly re-try calls in the face of offline / unavailable use - hooks to deal with particular end points (like the github pull request / 422 problem) ?