Moved script automate download from target to its own dir.