fix link command for new filenames