Initial checkin. Script is not yet functional, has duplicated comments
for convenience, etc.