remove esoteric references to nutty to make a more general script