Added code to remove temp files and show output to terminal
Commented out temp file removing and fixed typo