adding web app mode