Update logic on student_profile.sh script.