Updated PLM Smart Tool Code