added vine embedded support.