added mac and linux options