run.sh, only compile modules if folder exists