Cleaned up SmartCV.R