fixed the index.html pb + adding publishing scripts