scripts copied from holman