download script flexibility