added compilation to bash script