Only perform mex post action if main one succeeds
Put separator in more sensible place.