shell script for building distro