TIN. Using the helper library tin is erasing my scripts and main keys-- stopped using it for this. what the hell, that's super annoyign.