Adding utility script provided by professor