working on download function for centos template