Added more features to compile.sh