modified to download wp source