Changed the CV file pointer and small progress bar adjustments