Hollow cone dark field imaging: automatic acquisition, and its contrast for magnesium