Initial script donated by a mysterious anonymous benefactor. Help from the the usual suspects