modify bootstrap.sh: redefine app_dir