changes to allow site to be built locally AND display on github pages