added support for 'relative' alias option.