fix statsCollector to use right Script namespace