Discover executable path
Have temporary files be in home directory
fix typo in do_history