Updated to work with all 1.x versions of yo