added temp exit and moved stats to /stats