Added %FNAME case to link.replace switch