Custom Deployment: Fix broken urls pointing to localhost:4000