cleanups, use template and support more things for download.