Added more command-line prompting; needs to be streamlined to reduce function calls.