Add permalink back so that multi files will work