Update run.sh to auto compile