deploy script now uploads php file that return the download links as JSON