Made script collect per-room statistics