Re-Added Sanity and Vision Code