HashLogShell stores chdir value to logs and previous