adding ability to pass in a web version