Updated TM Fix script