I don't see that you are doing the same change for start.sh. It would fail if another env has to be used.