make this compatible with github pages