Changed link format to flask format