init.sh (Rajarshi's version)