Removed prompts and added command line argument support