make init.sh idempotent and source bash_profile