Getting the dirs from command line