added back terminal prompting for testing