Updated to work with github pages