Cleanup with how scripts are loaded and how Present is reset.