Fix web apps to work the new way