Added loginmac/logoutmac scripts