Fixed wrong parameter check.
Added script that allows to mirror a P2 update site.