donwload script, template config file