Bug fixes in new download/run scripts