undid path changes, left in whitespace fixes and /dev/null redirection