Transfered deploy.php to new ajax format.