Adding generate option