Updated init.sh to install requirements before applying configuration files.