working download and parse script