bunch of changes to script and add bootstrap to webpage