stat script