Change tmp file example to homedir file example
Refactor the variable section