updated sim script for final runs