refactored download flag to version option 'stable'