enable download functionality.