Implement the true behavior of ./bin/ellen --generate