Added code to (un)mount mac dmgs