Rename results into result, add option to disable doorperiod