Modify generate to pull from latest