some tweeks to the example script for rochester