Modify path in link_pm script