stats - how to access via scripts?