updated to add back in some css and other things from the template