Extending advcd

Now it understands relative paths w.r.t. home as well as absolute paths