Update portability.sh