Adds generate and check command