update link to take optional home directory argument