Added validation in gen.html