added preloading and github pages settings