Porting Iowa-specific code from @rtsio 's repo