Fix sed invocation in the deploy.sh script to make it work both on Mac and Linux