finished command-line wrapper
cleanup