Let's do this with separate commands and more Ruby.