receive root directory from command line