Updated script. Commets and more descroptive