improved styling and added script block