Added a generate button, no error messages yet :(