proper download link generation is achieved