Support functions for integration workflow

Modified file infrastructure.py.