Back porting Diane's runfolder.py from the trunk to v0.1.x branch