updated the script witha little more verbose comments since its so hands on