updated mac script, made separation between linux and mac, added linux script