script and styling changes