I dunno, make a start menu event that checks for the image files. If the image isn't there remove the line from the file. If you reference the id in code later you can double check the file then before executing.