Modify script to publsih locally or on github.io repository