removed subprocess. now using urllib