Added functionality to download excel