Cleaned link command, catching errors on cache save