adds body class when generate sample