Added dynamic CSS and bug fixes