MAT: Edits to support running on anvil
MAT: Edits necessary to run script on janus.