Made the deploy script honour the server-side config