Updated function for creating themes download