Remove invalid links
Added `Generate` command