Modify targets file