Updated comments for both scripts