Reworking the deploy to support html5 routes.