add error message shadow. Add space between list elements. Refactor script