some work toward porkey.org support; broke rationality.py