rocks reconfigure: flash output before running os.system

In this way we get consistent output from the python script