changed things around so the web version and local version act the same way