gen-buildapp.sh added