hardcopy -h '/path-to-session/SESSION_demo/bash - \var\log\/scrollback'
stuff 'history -w /path-to-session/SESSION_demo/bash\ -\ \\var\\log\\/history'"^M"
stuff 'pwd > /path-to-session/SESSION_demo/bash\ -\ \\var\\log\\/pwd'"^M"
