Beforehand, `if __name__ == '__main__':`. That way, if somebody somehow imports this, it won't immediately fire off.