Updated web app setup script to deal properly with farm3