pass arguments to download script correctly