Added comments for the first part of the script