Improves command-line eval interface and allows separate text directory to be specified