Change so it runs in homedir + formating.
Add support for relative paths and formating.
Fixed the updir function.