adding version support for OSX packages and parameter to control its retrieval (defaults to true)