Making the command line inputs work