rejiggered things to make compatible with github pages