Update Compile.sh

added a few functions