changes to allow for importing to web page