added help version and export options