working OK on mac os x, asking for sudo nicely if required.