Edit downloadPage and its related functions.