Merged new trilead that has logging improvements