I copied this code block from gaia_test.py, but i'll try it without that step just in case it throws an exception or something.