shortened code to write files after running mark. Also, we will now run all transient species except PH