added mac scripts