add stat script