Fixes and added comments to the script