Add support for Stata 11 and 12