Make the deploy scripts more generic and add Varnish integration