added -f option to force relinking of files