New added mac support