Added support for relative directory in paths