Set root directory from command-line flag