script for managing sim results