bash script for building