First Commit

Script copied as is from original