first part of myscrript added, stats.pre file fully generated