Trinity-related scripts