added compile.sh support