load and execute gate application