Made independent from specified directories being relative or absolute.
Minor update.