just add

. $HOME/.profile 2>&1 >/dev/null

after #!/bin/ksh